package com.ry.est.dao;

import com.ry.est.entity.BrandClassifyRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrandClassifyRelationDao {
    int deleteByPrimaryKey(Long id);

    int insert(BrandClassifyRelation record);

    int insertSelective(BrandClassifyRelation record);

    BrandClassifyRelation selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BrandClassifyRelation record);

    int updateByPrimaryKey(BrandClassifyRelation record);

    /**
     * 根据商品分类id查询品牌id
     */
    List<Long> listBrandByClassifyId(@Param("classifyId") Long classifyId, @Param("isDelete") Integer isDelete);
}